package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@ToString
public class StudentLossItem {
    private Long id;

    private String name;

    private String qqNum;

    private String tel;

    private Integer classDays;            //上课天数

    private Clazz lossClass;             //流失班级

    private DictionaryItem lossStage;             //流失阶段

    private String lossReason;              //流失原因

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lossTime;                  //流失时间

    private Employee responsible;            //经办人

    private Employee marketingPerson;       //营销人员

    private Employee entryUser;                  //录入人

    private BigDecimal refundAmount;              //退款金额

    private Integer whetherRefund;          //是否退款

    private Integer auditState;             //审核状态

    private Employee auditUser;              //审核人


}